package com.itheima.Override02;

public class Father {
    public void method01() {

    }

    private void method02() {

    }

    public static void method03() {

    }

    public void method04() {
    }
    //当方法的返回值类型是一个类名时,方法体中要返回的时该类的对象
    public Father method05() {
        return new Father();
    }
}
